package com.example.demo.entity;

public class AppExCode {

    public static final String PARAMS_ERROR = "1002";

    public static final String PARAMS_NULL = "1001";

    public static final String ILLEGA_DATA = "1009";

    public static final String SERVICE_MODULE_UNKNOW = "1008";

    /**
     * 超时
     */
    public static final String TIMEOUT = "1009";

    /**
     * 对象重复
     */
    public static final String OBJECT_REPECT = "1010";

    public static final String OBJECT_NOT_FOUND = "1011";

    /**
     * 货架未创建
     */
    public static final String SHELF_UNCREATED = "1120";



    /**
     * 订单号重复
     */
    public static final String UUID_REPECT = "1102";
    public static final String ORDER_STATUS_ERROR = "1104";

    /**
     * 文件大小超过限制
     */
    public static final String FILE_SIZE_LIMIT = "1021";

    public static final String PASSWORD_ERROR = "1081";
    public static final String USER_STATUS_INVALID = "1082";

    /**
     * 卡券状态无效
     */
    public static final String COUPON_STATUS_INVALID = "1083";


    /**
     * 隐藏的权限不足
     */
    public static final String PERMISSION = "1090";
    /**
     * 操作权限的不足，可通过配置权限授权
     */
    public static final String PERMISSION_MENU = "1091";

    /**
     * 平台的权限不足，需要登陆或者重新获取密钥
     */
    public static final String PERMISSION_PLAT = "1092";

    /**
     * 微信使用，未找到登陆信息，需要跳转到微信接口进行信息的获取。
     */
    public static final String PERMISSION_WECHAT = "1093";

    /**
     * 微信使用，未找到机构信息，需要跳转到货架信息或者出错界面
     */
    public static final String PARAM_NULL_WECHAT = "1094";


    /**
     * 非法卡号：二磁数据为空：不允许手输卡号
     */
    public static final String CARD_TRACK_2_NULL = "1101";


    public static final String DEVICE_NOT_FOUND = "4001";


    public static final String DEVICE_HAS_BEEN_INIT = "4002";

    public static final String DEVICE_HAS_BEEN_BIND = "4003";

    public static final String DEVICE_HAD_NOT_BEEN_BIND = "4004";

    /**
     * 设备未初始化或者初始化失败
     */
    public static final String DEVICE_INIT_FAIL = "4005";

    /**
     * 设备未绑定，不能做交易
     */
    public static final String DEVICE_BIND_FAIL = "4006";

    /**
     * 设备状态无效
     */
    public static final String DEVICE_STATUS_INVALID = "4007";

    /**
     * 卡号不存在
     */
    public static final String CARD_UNEXIST = "4201";

    /**
     * 卡状态异常
     */
    public static final String CARD_STATUS_INVALID = "4202";

    /**
     * token无效或者已经过期
     */
    public static final String CARD_TOKEN_ERROR = "4203";

    /**
     * 卡种不正确
     */
    public static final String CARD_KIND_TYPE_INVALID = "4501";
    public static final String CARD_KIND_NOT_FOUND = "4502";

    /**
     * 卡密码不正确
     */
    public static final String CARD_PIN_ERROR = "4503";

    /**
     * 非常卡
     */
    public static final String CARD_ILLEGAL = "4504";

    /**
     * 交易限制（未授权，包括卡种加盟）
     */
    public static final String TRANS_LIMIT = "4601";
    /**
     * 交易重复：outOrderNo或者transNo
     */
    public static final String TRANS_REPECT = "4602";

    /**
     * 未找到此交易
     */
    public static final String TRANS_NOT_FOUND = "4603";
    /**
     * 暂不支持此交易
     */
    public static final String TRANS_UNSUPPORT = "4609";

    /**
     * 不支持此充值方案。需要前端做出响应。
     */
    public static final String TRANS_UNSUPPORT_RECHARGE_SCHEME = "4608";

    /**
     * 终端状态不正确
     */
    public static final String TERMINAL_STATUS_INVALID = "4701";
    public static final String TERMINAL_HAD_BEEN_BINDED = "4702";
    /**
     * 设备绑定码不存在
     */
    public static final String TERMINAL_BIND_CODE_NOT_FOUND = "4703";


    /**
     * 商户状态不正确
     */
    public static final String MERCHANT_STATUS_INVALID = "4100";

    /**
     * 产品不存在
     */
    public static final String PRODUCT_NOT_FOUND = "4110";
    public static final String PRODUCT_STATUS_INVALID = "4111";


    public static final String UNSUPPORT_ACCOUNT_TYPE = "4900";

    /**
     * 账户删除限制（有余额，不允许删除）
     */
    public static final String ACCOUN_DELETE_LIMIT_BALANCE = "4901";

    /**
     * 不支持的密钥类型
     */
    public static final String UNSUPPORT_SECRET_KEY_TYPE = "4300";


    /**
     * 积分母卡不存在
     */
    public static final String POINT_MOTHER_CARD_UNEXIST = "5001";
    public static final String POINT_MOTHER_CARD_STATUS_INVALID = "5002";

    /**
     * 商户交易的优惠信息为空
     */
    public static final String MERCHANT_DISOUNT_UNEXISTS = "5101";

    /**
     * 余额不足，导致无法还原
     */
    public static final String BALANCE_LESS = "6000";
    /**
     * 卡现金账户余额不足
     */
    public static final String BALANCE_CASH_LESS = "6001";
    /**
     * 积分余额不足
     */
    public static final String BALANCE_POINTS_LESS = "6002";

    public static final String PAYMENT_FAIL = "6003";
    //    支付状态错误
    public static final String PAYMENT_STATUS_ERROR = "6004";
    //    重复支付
    public static final String PAYMENT_DUPLICATED = "6005";

    public static final String SECURITY_KEY_INDEX_REPECT = "7000";
    public static final String SECURITY_UNKNOW_ALGORITHM = "7001";
    public static final String SECURITY_UNKNOW_UNKNOW = "7002";
    public static final String SECURITY_DEAL_FAIL = "7005";


    /**
     * 计算限制
     */
    public static final String SECURITY_OPERATION_LIMIT = "7006";

    /**
     * 密钥重复
     */
    public static final String SECURITY_KEY_REPECT = "7007";
    public static final String SECURITY_KEY_NOT_FOUND = "7008";

    /**
     * 密钥未找到
     */
    public static final String SECURITY_ZMK_KEY_NOT_FOUND = "7010";
    /**
     * 密钥长度太长
     */
    public static final String SECURITY_KEY_LENGTH_TOO_LONG = "7011";
    public static final String SECURITY_ALGORITHM_NOT_MATCH = "7012";

    public static final String SECURITY_UNINIT = "7099";

    /**
     * 机构不存在
     */
    public static final String ORGANIZATION_NOT_FOUND = "9001";

    /**
     * 机构状态不正确
     */
    public static final String ORGANIZATION_STATUS_INVALID = "9002";

    public static final String UNKNOW = "9999";
    public static final String SYSTEM_BUSY = "9998";
    public static final String UNSPORT = "9997";

    /**
     * 记录因为version锁原因，没有交易成功
     */
    public static final String ROW_BUSY = "9000";
}
